package com.qlmjx.sevalopos.listener;

import android.view.View;
import android.view.View.OnClickListener;

import com.qlmjx.sevalopos.callback.ForCallBack;


/**
 * 迈虹信息科技.All rights reserved
 * @author LuoXiang
 * @ClassName ${ClassName}
 * @TitleName ${ClassName}
 * @Data 2017/7/4
 */
public class ForLinster implements OnClickListener {

    private int position;
    private int flag;
    private ForCallBack callback;
    public ForLinster(ForCallBack callback , int position,int flag){
        this.position = position;
        this.callback = callback;
        this.flag = flag;
    }

    @Override
    public void onClick(View view) {
        callback.linster(position,flag);
    }
}
